package com.wjp.banquet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wjp.banquet.dto.BanquetPageQueryDTO;
import com.wjp.banquet.entity.Banquet;
import com.wjp.banquet.vo.BanquetVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BanquetMapper extends BaseMapper<Banquet> {
    List<Banquet> getByName(@Param("name") String name);

    List<Banquet> getPageList(BanquetPageQueryDTO dto);


}
